package com.etc.jdk17;

import java.math.BigInteger;
import java.util.List;
import java.util.stream.Stream;

/**
 * @author: knowno
 * @create: 2024-09-14 15:31
 * @Version 1.0
 **/
public class TestList {
    public static void main(String[] args) {

        Stream<String> stream = Stream.of("java", "python");
        List<String> strings = stream.toList();
        strings.forEach(System.out::println);


    }
}
